Skip navigation links

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Loader for Hadoop Java Example Release 3.1 E55985-01
PREV NEXT | FRAMES NO FRAMES

# Oracle Loader for Hadoop Java Example

This Javadoc describes the Oracle Loader for Hadoop examples package.

See:
Description

Packages
oracle.hadoop.loader.examples |

This Javadoc describes the Oracle Loader for Hadoop examples package. This package contains sample code for a simple InputFormat example for Comma Separated Value (CSV) files.

In order to use this example input format, add "-libjars $OLH_HOME/jlib/oraloader-examples.jar" to the command line. The following is an example invocation:

    HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:$OLH_HOME/jlib/*"
    bin/hadoop jar ${OLH_HOME}/jlib/oraloader.jar oracle.hadoop.loader.OraLoader \
      -conf MyConf.xml -libjars $OLH_HOME/jlib/oraloader-examples.jar \
      -D mapreduce.inputformat.class=oracle.hadoop.loader.examples.CSVInputFormat

Skip navigation links

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Loader for Hadoop Java Example Release 3.1 E55985-01
PREV NEXT | FRAMES NO FRAMES

Copyright © 2011, 2014, Oracle and/or its affiliates. All rights reserved.